<?php
/* @var $this ExitDetailController */
/* @var $model ExitDetail */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'exit-detail-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'occupant_load'); ?>
		<?php echo $form->textField($model,'occupant_load'); ?>
		<?php echo $form->error($model,'occupant_load'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'egress_capacity'); ?>
		<?php echo $form->textField($model,'egress_capacity'); ?>
		<?php echo $form->error($model,'egress_capacity'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'capacity_of_horizontal_exit'); ?>
		<?php echo $form->textField($model,'capacity_of_horizontal_exit'); ?>
		<?php echo $form->error($model,'capacity_of_horizontal_exit'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'capacity_of_exit_stair'); ?>
		<?php echo $form->textField($model,'capacity_of_exit_stair'); ?>
		<?php echo $form->error($model,'capacity_of_exit_stair'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'no_of_exit'); ?>
		<?php echo $form->textField($model,'no_of_exit'); ?>
		<?php echo $form->error($model,'no_of_exit'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'remote'); ?>
		<?php echo $form->textField($model,'remote'); ?>
		<?php echo $form->error($model,'remote'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'location_of_exit'); ?>
		<?php echo $form->textArea($model,'location_of_exit',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'location_of_exit'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'enclosure_provided'); ?>
		<?php echo $form->textField($model,'enclosure_provided'); ?>
		<?php echo $form->error($model,'enclosure_provided'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'exit_accesible'); ?>
		<?php echo $form->textField($model,'exit_accesible'); ?>
		<?php echo $form->error($model,'exit_accesible'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'discharge_of_exit'); ?>
		<?php echo $form->textArea($model,'discharge_of_exit',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'discharge_of_exit'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'fire_door_provided'); ?>
		<?php echo $form->textField($model,'fire_door_provided'); ?>
		<?php echo $form->error($model,'fire_door_provided'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'self_closing_mechanism'); ?>
		<?php echo $form->textField($model,'self_closing_mechanism'); ?>
		<?php echo $form->error($model,'self_closing_mechanism'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'panic_hardware'); ?>
		<?php echo $form->textField($model,'panic_hardware'); ?>
		<?php echo $form->error($model,'panic_hardware'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'inspection_id'); ?>
		<?php echo $form->textField($model,'inspection_id'); ?>
		<?php echo $form->error($model,'inspection_id'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->